Relative expressive power of navigational querying on graphs using transitive closure
نویسندگان
چکیده
Motivated by both established and new applications, we study navigational query languages for graphs (binary relations). The simplest language has only the two operators union and composition, together with the identity relation. We make more powerful languages by adding any of the following operators: intersection; set difference; projection; coprojection; converse; transitive closure; and the diversity relation. All these operators map binary relations to binary relations. We compare the expressive power of all resulting languages, both for binary-relation queries as well as for boolean queries. In the absence of transitive closure, a complete Hasse diagram of relative expressiveness has already been established [8]. Moreover, it has already been shown that for boolean queries over a single edge label, transitive closure does not add any expressive power when only projection and diversity may be present [11]. In the present paper, we now complete the Hasse diagram in the presence of transitive closure, both for the case of a single edge label, as well as for the case of at least two edge labels. The main technical results are the following: 1. In contrast to the above-stated result [11] transitive closure does add expressive power when coprojection is present. 2. Transitive closure also adds expressive power as soon as converse is present. 3. Conversely, converse adds expressive power in the presence of transitive closure. In particular, the converse elimination result from [8] no longer works in the presence of transitive closure. 4. As a corollary, we show that the converse elimination result from [8] necessitates an exponential blow-up in the degree of the expressions.
منابع مشابه
The Impact of Transitive Closure on the Boolean Expressiveness of Navigational Query Languages on Graphs
Several established and novel applications motivate us to study the expressive power of navigational query languages on graphs, which represent binary relations. Our basic language has only the operators union and composition, together with the identity relation. Richer languages can be obtained by adding other features such as other set operators, projection and coprojection, converse, and the...
متن کاملOn the Power of SPARQL in Expressing Navigational Queries
Navigational queries on graph databases return binary relations over the nodes of the graph. The calculus of relations, popularized by Tarski, serves as a natural benchmark for firstorder navigational querying. Recently, nested regular expressions (nre’s) have been proposed to extend navigational querying to RDF graphs, i.e., ternary relations. This paper investigates the expressiveness of nre’...
متن کاملComparing Downward Fragments of the Relational Calculus with Transitive Closure on Trees
Motivated by the continuing interest in the tree data model, we study the expressive power of downward navigational query languages on trees and chains. Basic navigational queries are built from the identity relation and edge relations using composition and union. We study the effects on relative expressiveness when we add transitive closure, projections, coprojections, intersection, and differ...
متن کامل(Modal) Logics for Semistructed Data
The area of semistructured data includes collections of data items which have in some ways similar but not identical structure. Examples of semistructured data range from heterogeneous databases to the World Wide Web Abi97]. The area is obviously quite heterogeneous itself. However there are some important features common to all kinds of semistructured data, namely: data is represented as an ed...
متن کاملDefinability and model checking: the role of orders and compositionality
Finite model theory and descriptive complexity theory are concerned with assessing the expressive power of logics over finite models and with relating the descriptive resources needed for defining a class of structures to the computational complexity of the corresponding decision problem. In recent years, also the model theory and computational handling (e.g. of the model checking problem) of f...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Logic Journal of the IGPL
دوره 23 شماره
صفحات -
تاریخ انتشار 2015